/*
 * HolePermutation.hpp
 * Author: Elias Capito, Yanick Candaux
 * PCM
 */

#ifndef HOLEPERMUTATION_HPP_
#define HOLEPERMUTATION_HPP_

#include <iostream>
using namespace std;

namespace pcm {

class HolePermutation {
public:
	HolePermutation(short int _start,short int _end, bool _swap = false);
	virtual ~HolePermutation();

	inline short int start() const{
		return m_start;
	}
	inline short int end() const{
		return m_end;
	}
	friend ostream& operator <<(ostream &os,const HolePermutation &obj);
protected:
	short int m_start;
	short int m_end;
	bool m_swap;
};

} /* namespace pcm */
#endif /* HOLEPERMUTATION_HPP_ */
